"use strict";
var sequelize=require("../db");
var Sequelize=require("sequelize");
const table = sequelize.define('jobs', {
    // attributes
    jobName: {//职位名
      type: Sequelize.STRING,
      allowNull: false
    },
    companyName: {//公司名
        type: Sequelize.STRING,
        allowNull: false
      },
      workplace: {//工作地点
        type: Sequelize.STRING,
        allowNull: false
      },
      pay: {//薪资
        type: Sequelize.STRING,
        allowNull: false
      },
      Time: {//时间
        type: Sequelize.STRING,
        allowNull: false
      }
  },
   {
    // options
  });
  module.exports=table;